package com.xiaoxin.codesandbox.errorCode;

/**
 * 阻塞程序
 */
public class SleepError {
    public static void main(String[] args) {
        try {
            Thread.sleep(60*60*100);
            System.out.println("睡完了");
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
